package com.cmxh.shipper.service.impl;

import com.cmxh.shipper.mapper.ExclusivefleetMapper;
import com.cmxh.shipper.pojo.Exclusivefleet;
import com.cmxh.shipper.pojo.Team;
import com.cmxh.shipper.service.ExclusivefleetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExclusivefleetServiceimpl implements ExclusivefleetService {
    @Autowired
    private ExclusivefleetMapper exclusivefleetMapper;
    @Override
    public int insertAll(List<Exclusivefleet> teams) {
        int insertAll = exclusivefleetMapper.insertAll(teams);
        return insertAll;
    }
}
